﻿using ERPSystem.Common.BaseEntitys;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERPSystem.Common.Domains.WarehouseCommon
{
    /// <summary>
    /// 到货类型表
    /// </summary>
    [SugarTable("ArrivalTypes")]
    public class ArrivalType:BaseEntity
    {
        /// <summary>
        /// 到货类型编号
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int ArrivalTypeId { get; set; }
        /// <summary>
        /// 到货类型名称1111 
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(50)", IsNullable = true)]
        public string ArrivalTypeName { get; set; }
        /// <summary>
        /// 父级Id
        /// </summary>
        public int PId { get; set; }
        ///// <summary>
        ///// 子集
        ///// </summary>
        //[SugarColumn(IsIgnore =true)]
        //public List<ArrivalType> Children { get; set; }
    }
}
